package com.meiyou.service;


import com.meiyou.result.Result;
import com.meiyou.vo.UserAndArticleByMonthVo;
import com.meiyou.vo.UserAndArticleVo;
import com.meiyou.vo.UserByAddressVo;

import java.util.List;

public interface SystemService {
    /**
     * 获取总用户数和总文章数
     *
     * @return
     */
    UserAndArticleVo getUserAndArticleNum();

    /**
     * 获取最近三个月用户数和文章数
     *
     * @return
     */
    UserAndArticleByMonthVo getUserAndArticleNumByMonth();

    /**
     * 获取每个地区的用户占比，前五
     *
     * @return
     */
    List<UserByAddressVo> getUserByAddress();
}
